package com.iraeta.service;

import com.iraeta.entity.Duanzao;

import java.util.List;

public interface DuanZaoService {
    void addDuanzao(Duanzao duanzao);
    void updateDuanzao(Duanzao duanzao);
    void deleteDuanzao(Integer id);
    Duanzao getDuanzao(Integer id);
    List<Duanzao> listAllDuanzao();
    List<Duanzao> listDuanzao(String name);
}
